<?php

require_once 'common.inc.php';
include './deploy/alarm_state.php';

$torrent = new dbstuff;
$torrent->connect($dphost, $dpuser, $dppw, $db_torrent, $dppconnect);
$torrent_db = $torrent;
// TrackerTactic
error_reporting(E_ALL);
	$listhost=array();
	$sql="select host from c_torrent order by host asc";
	$query=$torrent_db->query($sql);
	while($result=$torrent_db->fetch_array($query)){
		$row[]=$result;
		if(!in_array($result['host'],$listhost)&&$result['host'])
		{
			$oldhost=$result['host'];
			$listhost[]=$oldhost;
		}
	} 

	include_once MCC_ROOT . '/templates/msystem/alarm_rds.html';
?>